
export const statusList = [
  { id: '0', name: '正常', type: 'success' },
  { id: '1', name: '离职', type: 'info' }
]
export const seachConfig = () => {
  return [
    {
      key: 'realName',
      label: '教保师姓名'
    },
    {
      key: 'status',
      label: '状态',
      type: 'select',
      fieldProps: {
        options: statusList,
        props: { value: 'id', label: 'name' }
      }
    }
  ]
}

export const columnConfig = [
  {
    prop: 'realName',
    label: '教保师姓名'
  },
  {
    prop: 'gender',
    label: '性别'
  },
  {
    prop: 'mobile',
    label: '手机号码'
  },
  {
    prop: 'positionName',
    label: '角色'
  },
  {
    prop: 'joinAt',
    label: '入职时间'
  },
  {
    prop: 'rankVal',
    label: '星级'
  },
  {
    prop: 'status',
    label: '状态'
  },
  {
    prop: 'action',
    label: '操作',
    align: 'center'
  }
]
